<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn" style="display:inline">
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="value" @keyup.enter="query" placeholder="工号/姓名/账号/操作结果/操作IP地址">
			</div>
			
		</div>
		<div class="grid-btn" style="display:inline">
			<div class="form-group col-sm-2">
				<input id="calTime" type="text" class="form-control" v-model="calTime" @keyup.enter="query" placeholder="操作时间">
			</div>
			<a class="btn btn-default" @click="query">查询</a>
		</div>
	    <table id="jqGrid" style="margin-bottom:40px"></table>
	    <div id="jqGridPager" style="width: window.screen.availWidth- 260; height: 40px; margin-bottom: 18px; background: #fff; float: left;"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">账号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.usernamelogin" placeholder="账号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">操作时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.createtimelogin" placeholder="操作时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">操作结果</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.contectlogin" placeholder="操作结果"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">备注</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.memo" placeholder="备注"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">操作IP地址</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.remoteaddr" placeholder="操作IP地址"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">请求URL</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.requesturi" placeholder="请求URL"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">操作方式</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.methodlogin" placeholder="操作方式"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">选择数据时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.datatimeselect" placeholder="选择数据时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">员工编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.workno" placeholder="员工编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">员工命名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.workname" placeholder="员工命名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label"></div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="sysWorkLog.peoplecard" placeholder=""/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/js/sys/sysworklog.js?_${date.systemTime}"></script>
<script src="${rc.contextPath}/js/laydate/laydate.js"></script>
<script type="text/javascript">
laydate.render({
	  elem: '#calTime', //指定元素
	  type:'date',
	  max:'currentmonth'
	});
</script>
</body>
</html>